package com.ruoyi.dispatch.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 *  销售日报 对象 dispatch_sales_day_report
 * 
 * @author wuxiaofang
 * @date 2025-04-11
 */
public class SalesDayReport extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  主键  */
    private Long reportId;

    /**  销售日期  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = " 销售日期 ", width = 30, dateFormat = "yyyy-MM-dd")
    private Date saleDate;

    /**  煤炭类型 ID */
    private Long coalTypeId;

    /**  煤炭类型名称  */
    @Excel(name = " 煤炭类型名称 ")
    private String coalType;

    /**  日销量（t） */
    @Excel(name = " 日销量", readConverterExp = "t=")
    private BigDecimal daySales;

    /**  销售均价  */
    @Excel(name = " 销售均价 ")
    private BigDecimal averagePrice;

    /**  库存  */
    @Excel(name = " 库存 ")
    private BigDecimal inventory;

    /**  矿井ID */
    private Long mineId;

    public void setReportId(Long reportId) 
    {
        this.reportId = reportId;
    }

    public Long getReportId() 
    {
        return reportId;
    }

    public void setSaleDate(Date saleDate) 
    {
        this.saleDate = saleDate;
    }

    public Date getSaleDate() 
    {
        return saleDate;
    }

    public Long getCoalTypeId() {
        return coalTypeId;
    }

    public void setCoalTypeId(Long coalTypeId) {
        this.coalTypeId = coalTypeId;
    }

    public void setCoalType(String coalType)
    {
        this.coalType = coalType;
    }

    public String getCoalType() 
    {
        return coalType;
    }

    public void setDaySales(BigDecimal daySales)
    {
        this.daySales = daySales;
    }

    public BigDecimal getDaySales()
    {
        return daySales;
    }

    public void setAveragePrice(BigDecimal averagePrice)
    {
        this.averagePrice = averagePrice;
    }

    public BigDecimal getAveragePrice()
    {
        return averagePrice;
    }

    public void setInventory(BigDecimal inventory)
    {
        this.inventory = inventory;
    }

    public BigDecimal getInventory()
    {
        return inventory;
    }

    public void setMineId(Long mineId) 
    {
        this.mineId = mineId;
    }

    public Long getMineId() 
    {
        return mineId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("reportId", getReportId())
            .append("saleDate", getSaleDate())
            .append("coalTypeId", getCoalTypeId())
            .append("coalType", getCoalType())
            .append("daySales", getDaySales())
            .append("averagePrice", getAveragePrice())
            .append("inventory", getInventory())
            .append("mineId", getMineId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
